home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The Complete Interactive…ermaid's Special Edition)
/
The Complete Interactive Cookbook - Mermaid's Special Edition [Compton's, 1999].iso
/
TOURGUID
/
COOKTG.DIR
/
00011_Script_11
< prev
next >
Wrap
Text File
|
1996-10-29
|
615b
|
27 lines
on pauseDemo
global pauseSprite, gPaused
set the puppet of sprite pauseSprite = TRUE
set the castnum of sprite pauseSprite = the number of cast "ContinueButton"
updatestage
set gPaused = TRUE
set gContinued = FALSE
pause
end
on continueDemo
global pauseSprite, gPaused
set the puppet of sprite pauseSprite = TRUE
set the castnum of sprite pauseSprite = the number of cast "PauseButton"
updatestage
set gPaused = FALSE
set gContinued = TRUE
continue
end
on testPauseState
global pauseSprite, gPaused
if gPaused = TRUE then
continueDemo
end if
end